package com.yunyike.app.data.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yunyike.app.data.mapper.UserMapper;
import com.yunyike.app.data.model.User;
import com.yunyike.app.data.service.IUserService;

@Service("userServiceImpl")
public class UserServiceImpl implements IUserService{

	private Logger log = LoggerFactory.getLogger(UserServiceImpl.class);

	@Autowired
	private UserMapper userMapper;
	

	public User findUserById(String userId) {
		// TODO Auto-generated method stub
		return userMapper.selectByPrimaryKey(userId);
	}


}
